package com.yyaccp.appinfo.controller;

import com.yyaccp.appinfo.domain.AppVersion;
import com.yyaccp.appinfo.service.AppVersionService;
import com.yyaccp.appinfo.util.AjaxResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
@RequestMapping("/api/appVersion")
public class AppVersionController {
    @Resource
    private AppVersionService appVersionService;

    @RequestMapping("/selectByid")
    public AjaxResult selectByid(Long id){
        AppVersion list =appVersionService.selectByid(id);
        return AjaxResult.success(list);
    }
}
